<template>
  <a-config-provider :locale='locale'>
      <router-view></router-view>
  </a-config-provider>
</template>

<script lang='ts' setup>
  import { ref } from 'vue'
  import zhCN from 'ant-design-vue/es/locale/zh_CN';
  import dayjs from 'dayjs';
  import 'dayjs/locale/zh-cn';

  const locale = ref()
  locale.value = zhCN
  dayjs.locale('zh-cn');
</script>
